﻿/*******************************************************************/
/* Author :  LongTP6B
 * Project:  OFB - Online Feedback
 * Module :  UserFeedback - Interface FeedbackBLL
 * Date   :  28 - 03 - 2013
/*******************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OFB.BLL.ViewModel;

namespace OFB.BLL.Repository
{
    /// <summary>
    /// Feedback interface
    /// </summary>
    interface IFeedbackBLL
    {
        ICollection<FeedbackAnswerViewModel> ListQuestion(int fbDetailId);
        bool SaveFeedbackComment(int fbDetailId, string comment);
        bool SaveFeedbackDetail(int fbDetailId, int questionId, float mark, string comment);
        bool IsFinished(int fbDetailId);
        bool CheckId(int fbDetailId);
    }
}
